package com.qst.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.conditions.query.QueryChainWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qst.domain.VipLedger;
import com.qst.dto.Result;
import com.qst.mapper.VipLedgerMapper;
import com.qst.service.IVipLedgerService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class IVipLedgerServiceImpl extends ServiceImpl<VipLedgerMapper,VipLedger> implements IVipLedgerService {
    @Override
    public List<VipLedger> findLedgerById(Long id) {
        return list(new QueryWrapper<VipLedger>().eq("vip_id", id));
    }
}
